package com.hobee.basic.config.datasource;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author junjie.li
 * @date 2020/6/29 18:20
 */

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface DataSourceAnnotation {

    /**
     * 手动指定
     */
    DataSourceEnum value() default DataSourceEnum.MASTER;
}
